<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->

<!--{include file="`$smarty.const.TEMPLATE_REALDIR`popup_header.tpl" subtitle="Form for customer's opinion (input page)"}-->

<div id="window_area">
    <h2 class="title"><!--{t string="tpl_AddAComment"}--></h2>
    <p class="windowtext"><!--{t string="tpl_comment1"}-->.<br />
        <!--{t string="tpl_comment2"}--> "<span class="attention">*</span>" <!--{t string="tpl_comment3"}-->.<br />
        <!--{t string="tpl_comment4"}-->.</p>
    <form name="form1" method="post" action="?">
    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
    <input type="hidden" name="mode" value="confirm" />
    <input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" />
    <table summary="Add a comment">
        <col width="30%" />
        <col width="70%" />
        <tr>
            <th><!--{t string="c_Product name_01"}--></th>
            <td><!--{$arrForm.name|h}--></td>
        </tr>
        <tr>
            <th><!--{t string="tpl_Poster name_01"}--><span class="attention">*</span></th>
            <td><span class="attention"><!--{$arrErr.reviewer_name}--></span><input type="text" name="reviewer_name" value="<!--{$arrForm.reviewer_name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" class="box350" /></td>
        </tr>
        <tr>
            <th><!--{t string="tpl_Poster URL_01"}--></th>
            <td><span class="attention"><!--{$arrErr.reviewer_url}--></span><input type="text" name="reviewer_url" value="<!--{$arrForm.reviewer_url|h}-->" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" class="box350" /></td>
        </tr>
        <tr>
            <th><!--{t string="tpl_Gender_01"}--></th>
            <td>
                <input type="radio" name="sex" id="man" value="1" <!--{if $arrForm.sex eq 1}--> checked="checked"<!--{/if}--> /><label for="man"><!--{t string="tpl_Male_01"}--></label>&nbsp;
                <input type="radio" name="sex" id="woman" value="2" <!--{if $arrForm.sex eq 2}--> checked="checked"<!--{/if}--> /><label for="woman"><!--{t string="tpl_Female_01"}--></label>
            </td>
        </tr>
        <tr>
            <th><!--{t string="tpl_rating"}--><span class="attention">*</span></th>
            <td>
                <span class="attention"><!--{$arrErr.recommend_level}--></span>
                <select name="recommend_level" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->">
                    <option value="" selected="selected"><!--{t string="tpl_Please make a selection"}--></option>
                        <!--{html_options options=$arrRECOMMEND selected=$arrForm.recommend_level}-->
                </select>
            </td>
        </tr>
        <tr>
            <th><!--{t string="c_Title_01"}--><span class="attention">*</span></th>
            <td>
                <span class="attention"><!--{$arrErr.title}--></span>
                <input type="text" name="title" value="<!--{$arrForm.title|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.title|sfGetErrorColor}-->" class="box350" />
            </td>
        </tr>
        <tr>
            <th><!--{t string="c_Comment_01"}--><span class="attention">*</span></th>
            <td>
                <span class="attention"><!--{$arrErr.comment}--></span>
                <textarea name="comment" cols="50" rows="10" style="<!--{$arrErr.comment|sfGetErrorColor}-->" class="area350"><!--{"\n"}--><!--{$arrForm.comment|h}--></textarea>
            </td>
        </tr>
    </table>
    <div class="btn_area">
        <ul>
            <li><button class="bt02"><!--{t string="tpl_Confirm_01"}--></button></li>
        </ul>
    </div>
    </form>
</div>

<!--{include file="`$smarty.const.TEMPLATE_REALDIR`popup_footer.tpl"}-->
